package nc.ui.acm.bd.defdoc;

import nc.bs.framework.common.NCLocator;
import nc.itf.acm.bd.def.IDefdoclist;


/**
 * business service ejb wrapper 
 * Created by EJBGenerator
 * based on velocity technology
 */

public class DefdoclistBO_Client
{
   
  private  static String beanName="nc.itf.acm.bd.def.IDefdoclist"; 

	public static void delete(nc.vo.acm.bd.defdoc.DefdoclistVO arg0) throws Exception{

		IDefdoclist bo = (IDefdoclist)NCLocator.getInstance().lookup(beanName);    
		bo.delete(arg0);			
		
	}
	public static void update(nc.vo.acm.bd.defdoc.DefdoclistVO arg0) throws Exception{

		IDefdoclist bo = (IDefdoclist)nc.bs.framework.common.NCLocator.getInstance().lookup(beanName);    
		bo.update(arg0);			
		
	}
	public static nc.vo.acm.bd.defdoc.DefdoclistVO findByPrimaryKey(java.lang.String arg0 ,java.lang.String arg1 ) throws Exception{

		IDefdoclist bo = (IDefdoclist)nc.bs.framework.common.NCLocator.getInstance().lookup(beanName);    
		nc.vo.acm.bd.defdoc.DefdoclistVO o = null;
		o = bo.findDefdoclistVoByPK(arg0 ,arg1 );					
    	return o;
    	
	}
	public static nc.vo.acm.bd.defdoc.DefdoclistVO[] queryAll(java.lang.String arg0) throws Exception{

		IDefdoclist bo = (IDefdoclist)nc.bs.framework.common.NCLocator.getInstance().lookup(beanName);    
		nc.vo.acm.bd.defdoc.DefdoclistVO[] o = null;
		o = bo.queryAllDefdoclistVO(arg0);					
    	return o;
    	
	}
}